// 运费模板
import {request} from "umi";
export function getTransport(){
    return  request(`/shop/transport/page?t=${new Date().getTime()}&current=1&size=10`);
}
// 删除
export function transportDelete(id:string[]){
    console.log(id);
    
    return request(`/shop/transport`,{
        method:"DELETE",
        data:id
    })
}
// 搜索
export function transportSearch(data:string){
    return request(`/shop/transport/page?t=${new Date().getTime()}&current=1&size=10&transName=${data}`)
}